package com.jhh.pay.center.service;

import com.jhh.pay.center.model.PayChannel;

import java.util.Collection;

/**
 * @author tangxd
 * @Description: TODO
 * @date 2017/12/5
 */
public interface PayChannelService {
    boolean save(PayChannel channel);

    boolean update(PayChannel channel);

    PayChannel get(int id);

    Collection<PayChannel> gets();

    PayChannel getByKey(String key);
}
